package edu.mis.modules.catalog;

import com.jfinal.core.Controller;

/**
 * 权限控制器
 *
 */
public class CatalogController extends Controller {
	
	static CatalogService service = new CatalogService();
	
	public void index() {
		render("catalog.html");
	}
	
	public void list(){
		setAttr("data", service.findAllCatalog());
		renderJson();  
	}

}
